﻿<%@ Page Title="ScrumPeak.com" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
  AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage<int>" %>

<%@ Import Namespace="Peak.ApplicationServices" %>
<%@ Import Namespace="Peak.Web.Controllers.HtmlExtentions" %>
<%@ Import Namespace="Peak.Resources" %>
<%@ Import Namespace="Peak.Web.Controllers" %>
<%@ Import Namespace="Peak.Core" %>
<%@ Import Namespace="Peak.Web.Controllers.Models" %>
<asp:Content ContentPlaceHolderID="center" runat="server">

  <script type="text/javascript">
    swfobject.embedSWF("<%= ResolveUrl("~/Content/open-flash-chart_modified.swf") %>", "WorkHistory", "100%", "<%= SprintController.BurndownHeight %>", "9.0.0", "expressInstall.swf", { "data-file": "<% =Html.BuildUrlFromExpression<WorkHistoryController>(f=>f.Chart(Model)) %>" });
  </script>

  <div class="page-content">
    <div class="page-title">
      <%= PageTitles.SprintDetails %>
    </div>
    <table width="100%">
      <tr>
        <td>
          <div id="WorkHistory" class="burndownChart">
            &nbsp;
          </div>
        </td>
      </tr>
    </table>
    <br />  
  </div>
</asp:Content>
